package com.link.base.base.visitcustinfo.controller;

import com.link.base.base.visitcustinfo.model.VisitCustInfo;
import com.link.base.base.visitcustinfo.service.VisitCustInfoService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * 拜访-客户信息
 *
 * @author 宁蓝昊
 * @date 2019/03/18 20:12
 */
@Controller
@RequestMapping("/link/visitCustInfo")
public class VisitCustInfoController extends BasicController<VisitCustInfo> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private VisitCustInfoService visitCustInfoService;

    @Override
    public BasicService<VisitCustInfo> getBasicService() throws Exception {
        return visitCustInfoService;
    }
}
